package com.ruoyi.wuyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 猪病病症对象 wy_pig_disease
 * 
 * @author ruoyi
 * @date 2022-07-20
 */
public class WyPigDisease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 病症名称 */
    @Excel(name = "病症名称")
    private String diseasename;

    /** 病症定义及描述 */
    @Excel(name = "病症定义及描述")
    private String definition;

    /** 治疗方法 */
    @Excel(name = "治疗方法")
    private String cure;

    /** 预防方法 */
    @Excel(name = "预防方法")
    private String prevent;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDiseasename(String diseasename) 
    {
        this.diseasename = diseasename;
    }

    public String getDiseasename() 
    {
        return diseasename;
    }
    public void setDefinition(String definition) 
    {
        this.definition = definition;
    }

    public String getDefinition() 
    {
        return definition;
    }
    public void setCure(String cure) 
    {
        this.cure = cure;
    }

    public String getCure() 
    {
        return cure;
    }
    public void setPrevent(String prevent) 
    {
        this.prevent = prevent;
    }

    public String getPrevent() 
    {
        return prevent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("diseasename", getDiseasename())
            .append("definition", getDefinition())
            .append("cure", getCure())
            .append("prevent", getPrevent())
            .toString();
    }
}
